<?php
namespace App\Http\Controllers\Admin;
use App\Models\Group;
/**
 * TestGuest Version1.0
 * ================================================
 * Copy 2017-2018 zxj
 * Web: http://www.zhaoxiaojie.club
 * ================================================
 * Author: Zxj
 * Date: 17/9/5
 * Time: 上午9:18
 *
 * 后台团队管理控制器
 *
 */
class GroupController extends BaseController
{
    public function __construct(Group $group)
    {
        parent::__construct();
        $this->group = $group; // 注入充值模型
    }

    // 团队列表页
    public function getIndex()
    {

        $flag = 'group';
        //dd(123);
        $data = $this->group->adminGroupList(request());   //获取团队列表
        //dd($data);
        return view('admin.group.group_list', compact('flag', 'data'));

    }

}